<?php


namespace api\web\controller;


use api\web\model\BannerModel;
use cmf\controller\RestBaseController;

class bannerController extends RestBaseController
{
    public function banner(){
        $banner = BannerModel::select();

        $this->success('轮播图',$banner);
    }
}